package com.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.ArticalChannel;
import com.res.ArticalChannelRes;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ArticalChannelRepository extends BaseMapper<ArticalChannel> {
    List<ArticalChannelRes> queryChannel( @Param("articalId") List<Long> articalId);

    int todayCounts(@Param("channelId") Integer channelId);
}
